serve as a distraction

Translations
служить отвлечением
The loud music served as a distraction while studying.
Громкая музыка служила отвлечением во время учебы.
Definitions
To divert someone's attention away from something else, often intentionally, so that they do not notice or focus on the original subject or activity.
Words
distraction

noun
отвлечение
serve

verb
служить